<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<title><?php echo $title; ?> </title>
    <link href="<?php echo base_url();?>/templates/catshop/style.css" rel="stylesheet" type="text/css"/>
</head>
<body>
    <div id="wapper">
    <?php $this->load->view("top.php");?>
    
        <div id="container">
            <?php
                $c=count($info);
                echo "<table border=1>";
                    echo '
                            <tr>
                                <td>title</td>
                                <td>content</td>
                                <td>author</td>
                            </tr>
                    
                         ';
                for($i=0;$i<$c;$i++){
                    echo "<tr>";
                    echo '<td>'.$info[$i]['title'].'</td>';
                    echo '<td>'.$info[$i]['content'].'</td>';
                    echo '<td>'.$info[$i]['author'].'</td>';
                    echo "</tr>"; 
                }
                echo "</table>";
            ?>
        </div><!--end #container -->
    </div><!--end #wapper -->
    <?php $this->load->view("footer.php"); ?>
</body>
</html>
